package com.ax.business.doctor.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

import com.ax.business.doctor.domain.BasePharmacist;

@Mapper
public interface BasePharmacistMapper {
    int deleteByPrimaryKey(Long pharmacistId);

    int insert(BasePharmacist record);

    /**
	 * 新增药师详情(模块:医师)
	 * 
	 * @param BasePharmacist basePharmacist
	 *           
	 * @return SUCC
	 */
    int insertSelective(BasePharmacist record);

    /**
	 * 查看药师详情(模块:药师，药师详情)
	 * 
	 * @param Map<String, Object> map
	 *           
	 * @return List<BasePharmacist>
	 */
    List<BasePharmacist> selectByPrimaryKey(Map<String, Object> params);
    
    /**
	 * 总计分页(模块:药师，药师详情)
	 * 
	 * @param Map<String, Object> map
	 *           
	 * @return Integer
	 */
    Integer count(Map<String, Object> params);

    int updateByPrimaryKeySelective(BasePharmacist record);

    int updateByPrimaryKey(BasePharmacist record);
}